package View;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JSplitPane;
import javax.swing.JComboBox;
import javax.swing.JButton;
import javax.swing.JMenuBar;

public class Funcionario  {

	private JPanel contentPane;
	private static JFrame janela;
	private JTextField textNome;
	private JTextField textField;
	private JLabel lblRg;
	private JTextField textField_1;
	private JLabel lblNasc;
	private JTextField textField_2;
	private JLabel lblTel;
	private JTextField textField_3;
	private JLabel lblCel;
	private JTextField textField_4;
	private JTextField textField_5;
	private JTextField textField_6;
	private JTextField textField_7;
	private JTextField textField_8;
	private JTextField textField_9;
	private JTextField textField_10;
	private JTextField textField_11;
	private JTextField textField_12;

	/**
	 * Launch the application.
	 */
	public void iniciar() {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					CadastroAluno frame = new CadastroAluno();
					
					janela.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public Funcionario() {
		
		janela =new JFrame ("Cadastro Funcionario");
		janela.setSize(600,400);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		janela.setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblNewLabel = new JLabel("Nome");
		lblNewLabel.setBounds(20, 21, 35, 14);
		contentPane.add(lblNewLabel);
		
		textNome = new JTextField();
		textNome.setBounds(65, 18, 86, 20);
		contentPane.add(textNome);
		textNome.setColumns(10);
		
		JLabel lblNewLabel_1 = new JLabel("CPF");
		lblNewLabel_1.setBounds(184, 21, 27, 14);
		contentPane.add(lblNewLabel_1);
		
		textField = new JTextField();
		textField.setBounds(248, 19, 63, 17);
		contentPane.add(textField);
		textField.setColumns(10);
		
		lblRg = new JLabel("RG");
		lblRg.setBounds(339, 21, 22, 14);
		contentPane.add(lblRg);
		
		textField_1 = new JTextField();
		textField_1.setBounds(420, 18, 86, 20);
		contentPane.add(textField_1);
		textField_1.setColumns(10);
		
		lblNasc = new JLabel(" Nasc.");
		lblNasc.setBounds(10, 68, 73, 14);
		contentPane.add(lblNasc);
		
		textField_2 = new JTextField();
		textField_2.setBounds(93, 65, 86, 20);
		contentPane.add(textField_2);
		textField_2.setColumns(10);
		
		lblTel = new JLabel("Tel");
		lblTel.setBounds(189, 68, 22, 14);
		contentPane.add(lblTel);
		
		textField_3 = new JTextField();
		textField_3.setBounds(214, 65, 86, 20);
		contentPane.add(textField_3);
		textField_3.setColumns(10);
		
		lblCel = new JLabel("Cel");
		lblCel.setBounds(346, 68, 52, 14);
		contentPane.add(lblCel);
		
		textField_4 = new JTextField();
		textField_4.setBounds(408, 65, 86, 20);
		contentPane.add(textField_4);
		textField_4.setColumns(10);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setBounds(65, 115, 86, 20);
		comboBox.addItem("");
		comboBox.addItem("Masculino");
		comboBox.addItem("Feminino");		
		contentPane.add(comboBox);
		
		JLabel lblSexo = new JLabel("Sexo");
		lblSexo.setBounds(10, 118, 45, 14);
		contentPane.add(lblSexo);
		
		JLabel lblCtps = new JLabel("CTPS");
		lblCtps.setBounds(184, 118, 45, 14);
		contentPane.add(lblCtps);
		
		textField_5 = new JTextField();
		textField_5.setBounds(239, 115, 86, 20);
		contentPane.add(textField_5);
		textField_5.setColumns(10);
		
		JLabel lblNewLabel_2 = new JLabel("T.Eleitor");
		lblNewLabel_2.setBounds(365, 118, 61, 14);
		contentPane.add(lblNewLabel_2);
		
		textField_6 = new JTextField();
		textField_6.setBounds(436, 115, 86, 20);
		contentPane.add(textField_6);
		textField_6.setColumns(10);
		
		JLabel lblReservista = new JLabel("Reservista");
		lblReservista.setBounds(10, 168, 63, 14);
		contentPane.add(lblReservista);
		
		textField_7 = new JTextField();
		textField_7.setBounds(81, 165, 86, 20);
		contentPane.add(textField_7);
		textField_7.setColumns(10);
		
		JLabel lblEndereco = new JLabel("Endereco");
		lblEndereco.setBounds(189, 168, 63, 14);
		contentPane.add(lblEndereco);
		
		textField_8 = new JTextField();
		textField_8.setBounds(275, 165, 86, 20);
		contentPane.add(textField_8);
		textField_8.setColumns(10);
		
		JLabel label = new JLabel("");
		label.setBounds(401, 168, 22, 14);
		contentPane.add(label);
		
		JLabel lblN = new JLabel("n\u00BA");
		lblN.setBounds(408, 168, 27, 14);
		contentPane.add(lblN);
		
		textField_9 = new JTextField();
		textField_9.setBounds(471, 165, 35, 20);
		contentPane.add(textField_9);
		textField_9.setColumns(10);
		
		JLabel lblCep = new JLabel("CEP:");
		lblCep.setBounds(10, 234, 52, 14);
		contentPane.add(lblCep);
		
		textField_10 = new JTextField();
		textField_10.setBounds(65, 231, 86, 20);
		contentPane.add(textField_10);
		textField_10.setColumns(10);
		
		JLabel lblBairro = new JLabel("Bairro");
		lblBairro.setBounds(199, 234, 66, 14);
		contentPane.add(lblBairro);
		
		textField_11 = new JTextField();
		textField_11.setBounds(275, 231, 86, 20);
		contentPane.add(textField_11);
		textField_11.setColumns(10);
		
		JLabel lblCidade = new JLabel("Cidade");
		lblCidade.setBounds(405, 234, 62, 14);
		contentPane.add(lblCidade);
		
		textField_12 = new JTextField();
		textField_12.setBounds(477, 231, 75, 20);
		contentPane.add(textField_12);
		textField_12.setColumns(10);
	}
}
